projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4202c5
)
pathbar: Avoid calling gtk_widget_destroy()
author
Timm Bäder
<mail@baedert.org>
Thu, 20 Feb 2020 18:36:13 +0000
(19:36 +0100)
committer
Timm Bäder
<mail@baedert.org>
Tue, 25 Feb 2020 09:43:15 +0000
(10:43 +0100)
gtk/gtkpathbar.c
patch
|
blob
|
history
diff --git
a/gtk/gtkpathbar.c
b/gtk/gtkpathbar.c
index e9477e349c4ef9ed875cf369481cad9d2e60c5b0..ba23450eac417ace9083b7723935fbf54b072c43 100644
(file)
--- a/
gtk/gtkpathbar.c
+++ b/
gtk/gtkpathbar.c
@@
-1360,7
+1360,7
@@
gtk_path_bar_set_file_finish (struct SetFileInfo *info,
ButtonData *button_data;
button_data = BUTTON_DATA (l->data);
-
gtk_widget_destroy (
button_data->button);
+
gtk_container_remove (GTK_CONTAINER (info->path_bar),
button_data->button);
}
g_list_free (info->new_buttons);